﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace ef.ServiceImplement
{
    public abstract class ServiceBase
    {
        #region Repository Manager

        public DataBase.DataBase LoadRepository(string className)
        {
            return (DataBase.DataBase)Assembly.Load(VConfigs.WebInfoConfig.Get_Config().DataProvider).CreateInstance(className);
        }

        #endregion

    }
}
